package com.woniuxy.lrz.carlproject.controller.form.formcar;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.util.ArrayList;

@Data
@ApiModel("新增/修改品牌信息，接收前端传递参数")
public class CarAddOrUpdateForm {

    @ApiModelProperty("车辆品牌名称")
    @NotBlank(message = "车辆品牌名称不能为空")
    private String carBrandName;
    @ApiModelProperty("车辆品牌ID")
    private Integer carBrandId;
//    @ApiModelProperty("车辆型号集合")
//    private ArrayList<CarTypeAddOrUpdateForm> carTypeAddItems=new ArrayList<>();

}
